package com.iweb.education.teacher.model;

/*
  teacherid integer auto_increment ,
  teachername varchar(32),
  teacherpassword  varchar(200),
  teachersex varchar(3) ,
  teacherphone varchar(32),/
 */
public class Teacher {
    private Integer teacherId;
    private String teacherName;
    private String teacherPassword;

    private String teacherCourse;
    private String teacherSex;
    private String teacherPhone;

    public Teacher() {
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId=" + teacherId +
                ", teacherName='" + teacherName + '\'' +
                ", teacherPassword='" + teacherPassword + '\'' +
                ", teacherCourse='" + teacherCourse + '\'' +
                ", teacherSex='" + teacherSex + '\'' +
                ", teacherPhone='" + teacherPhone + '\'' +
                '}';
    }

    public String getTeacherCourse() {
        return teacherCourse;
    }

    public void setTeacherCourse(String teacherCourse) {
        this.teacherCourse = teacherCourse;
    }

    public Teacher(Integer teacherId, String teacherName, String teacherPassword, String teacherCourse, String teacherSex, String teacherPhone) {
        this.teacherId = teacherId;
        this.teacherName = teacherName;
        this.teacherPassword = teacherPassword;
        this.teacherCourse = teacherCourse;
        this.teacherSex = teacherSex;
        this.teacherPhone = teacherPhone;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherPassword() {
        return teacherPassword;
    }

    public void setTeacherPassword(String teacherPassword) {
        this.teacherPassword = teacherPassword;
    }

    public String getTeacherSex() {
        return teacherSex;
    }

    public void setTeacherSex(String teacherSex) {
        this.teacherSex = teacherSex;
    }

    public String getTeacherPhone() {
        return teacherPhone;
    }

    public void setTeacherPhone(String teacherPhone) {
        this.teacherPhone = teacherPhone;
    }
}
